import 'package:inmotion_pro/config/const.dart';
import 'package:inmotion_pro/service/global_service.dart';

mixin CheckMixin {
  // 当前用户uid是否可用
  bool get isCurrentUidValid {
    final uid = GlobalService.to.cacheUserInfo.value.uid;
    return uid != 0 && uid != guestUid;
  }
}
